//
//  zcVideoViewController.h
//  智能控制系统
//
//  Created by Rankin on 15/12/2.
//
//

#import <Foundation/Foundation.h>
#import <UMEyeCloudIOS/HKSUMEyeCloud.h>
#import <UMEyeCloudIOS/HKSClientTitle.h>
#import <UMEyeCloudIOS/HKSDeviceClient+JXKL.h>
#import <UMEyeCloudIOS/HKSDeviceCodecItem.h>
#import <UMEyeCloudIOS/HKSDeviceCleanItem.h>

@interface zcVideoViewController : UIViewController
- (id)initWithUmid:(NSString*)umid deviceUserId:(NSString*)deviceUserId devicePassword:(NSString*)pwd channelNo:(int)channelNo;
@property(nonatomic, strong) UIActivityIndicatorView* loadingView;
@property(nonatomic, strong) NSTimer *updateSearchDataTimer;
@property(nonatomic, assign) int updateSearchCount;
@property(nonatomic, strong) NSMutableArray *searchDevices;
@property(nonatomic, strong) HKSDeviceClient *playerClient;
@property(nonatomic, strong) NSString* P2PServe ;
@property(nonatomic) int serverPort;
@property(nonatomic) int channelNo;
@property(nonatomic, strong) NSString*deviceUMID;
@property(nonatomic, strong) NSString*deviceUserID;
@property(nonatomic, strong) NSString*devicePassword;
@property (weak, nonatomic) IBOutlet UILabel *playStateText;
@property (weak, nonatomic) IBOutlet UILabel *playSpeedText;
@property (weak, nonatomic) IBOutlet UIButton *voiceBut;
@property (weak, nonatomic) IBOutlet UIButton *upBut;
@property (weak, nonatomic) IBOutlet UIButton *downBut;
@property (weak, nonatomic) IBOutlet UIButton *leftBut;
@property (weak, nonatomic) IBOutlet UIButton *rightBut;
@property (weak, nonatomic) IBOutlet UIButton *enLargeBut;
@property (weak, nonatomic) IBOutlet UIButton *lesSenBut;
@property (weak, nonatomic) IBOutlet UIButton *voiceUp;
@property (weak, nonatomic) IBOutlet UIButton *voiceDown;
@property (weak, nonatomic) IBOutlet UIButton *playBut;
@property (weak, nonatomic) IBOutlet UIButton *audioBut;
@property (weak, nonatomic) IBOutlet UIButton *rotateBut;
@property (weak, nonatomic) IBOutlet UIButton *savePhotoBut;
@property (weak, nonatomic) IBOutlet UIView *videoDisplayView;
@property (weak, nonatomic) IBOutlet UIButton *backBut;
@property (weak, nonatomic) IBOutlet UILabel *PlayerTitle;
@property (weak,nonatomic) IBOutlet UIButton *fullscreenBut;
@property(nonatomic, strong) NSTimer* playStatusCheckTimer;

@end
